﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="MyData" targetNamespace="http://tempuri.org/MyData.xsd" xmlns:mstns="http://tempuri.org/MyData.xsd" xmlns="http://tempuri.org/MyData.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="ConfExpertConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="ConfExpertConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.sceye.Properties.Settings.GlobalReference.Default.ConfExpertConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="xPhotoAksTableAdapter" GeneratorDataComponentClassName="xPhotoAksTableAdapter" Name="xPhotoAks" UserDataComponentName="xPhotoAksTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ConfExpertConnectionString (Settings)" DbObjectName="ConfExpert.dbo.xPhotoAks" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[xPhotoAks] WHERE (([AksesuarId] = @Original_AksesuarId))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_AksesuarId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AksesuarId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[xPhotoAks] ([AksesuarId], [Photo]) VALUES (@AksesuarId, @Photo);
SELECT AksesuarId, Photo FROM xPhotoAks WHERE (AksesuarId = @AksesuarId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@AksesuarId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AksesuarId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Photo" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="Photo" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT AksesuarId, Photo FROM dbo.xPhotoAks</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[xPhotoAks] SET [AksesuarId] = @AksesuarId, [Photo] = @Photo WHERE (([AksesuarId] = @Original_AksesuarId));
SELECT AksesuarId, Photo FROM xPhotoAks WHERE (AksesuarId = @AksesuarId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@AksesuarId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AksesuarId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Photo" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="Photo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_AksesuarId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AksesuarId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="AksesuarId" DataSetColumn="AksesuarId" />
              <Mapping SourceColumn="Photo" DataSetColumn="Photo" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="MyData" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="MyData" msprop:Generator_UserDSName="MyData">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="xPhotoAks" msprop:Generator_TableClassName="xPhotoAksDataTable" msprop:Generator_TableVarName="tablexPhotoAks" msprop:Generator_TablePropName="xPhotoAks" msprop:Generator_RowDeletingName="xPhotoAksRowDeleting" msprop:Generator_UserTableName="xPhotoAks" msprop:Generator_RowChangingName="xPhotoAksRowChanging" msprop:Generator_RowEvHandlerName="xPhotoAksRowChangeEventHandler" msprop:Generator_RowDeletedName="xPhotoAksRowDeleted" msprop:Generator_RowEvArgName="xPhotoAksRowChangeEvent" msprop:Generator_RowChangedName="xPhotoAksRowChanged" msprop:Generator_RowClassName="xPhotoAksRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="AksesuarId" msprop:Generator_ColumnVarNameInTable="columnAksesuarId" msprop:Generator_ColumnPropNameInRow="AksesuarId" msprop:Generator_ColumnPropNameInTable="AksesuarIdColumn" msprop:Generator_UserColumnName="AksesuarId" type="xs:int" />
              <xs:element name="Photo" msprop:Generator_ColumnVarNameInTable="columnPhoto" msprop:Generator_ColumnPropNameInRow="Photo" msprop:Generator_ColumnPropNameInTable="PhotoColumn" msprop:Generator_UserColumnName="Photo" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:xPhotoAks" />
      <xs:field xpath="mstns:AksesuarId" />
    </xs:unique>
  </xs:element>
</xs:schema>